package com.design.yjx.proxy.rmi.service;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * @author yuanjianxin
 * @date 2017/8/25 11:23
 * rmi 小demo
 *
 * 接口需继承Remote接口，Remote是一个空接口，属于标记接口，类型Serializable
 */
public interface MyRemote extends Remote{
    String SayHello() throws RemoteException;
}
